import 'package:flutter/material.dart';

class FormController {

  late  GlobalKey<FormState> formState;

  initFormState(GlobalKey<FormState> state){
    formState = state;
  }

  bool validate(){
    return formState.currentState!.validate();
  }
}